package com.rsk.service.curriculum;

import com.rsk.utils.tools.PageUtils;

import java.util.Date;
import java.util.Map;


public interface RskCourseEvaluateService {
	
	/*
	 * 课程评论保存
	 */
	public int saveRskCourseEvaluate(Long courseId, String comments, Date commentTime, Integer commentStatus,
			Integer commentSource, String commentUser,String commentPhoto, Integer isTop, Long operatorUser);
	
	/*
	 * 课程评论删除
	 */
	public int delRskCourseEvaluate(Long id, Long operatorUser);
	
	/*
	 * 课程评论修改//暂不提供
	 */
	public int updateRskCourseEvaluate();
	
	/*
	 * 课程评论显示/隐藏
	 */
	public int updateRskCourseEvaluateStatus(Long id, Integer commentStatus, Long operatorUser);
	
	/*
	 * 课程评论置顶/不置顶
	 */
	public int updateRskCourseEvaluateTop(Long id, Integer isTop, Long operatorUser);
	
	/*
	 * 课程评论查询*/

	@SuppressWarnings("rawtypes")
	public PageUtils<Map> selectRskCourseEvaluate(Long courseId, Integer nowPage, Integer pageSize);
	
}
